<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>账户列表</title>
    <style>
        table{border-collapse:collapse;}
        table,th, td{border: 1px solid black;padding: 5px;text-align: center;}
    </style>
</head>
<body>
<br/>
<br/>
<a href="/account/save">新增用户</a>
<br/>
<br/>
<table>
    <thead>
    <th width="5%">accId</th>
    <th width="5%">accEmpid</th>
    <th width="5%">accEmpname</th>
    <th width="5%">accSalary</th>
    <th width="5%">accBankid</th>
    <th width="5%">accMail</th>
    <th width="5%">accPhone</th>
    <th width="5%">accDeptname</th>
    <th width="5%">accYlbx01</th>
    <th width="5%">accYlbx02</th>
    <th width="5%">accYlbx03</th>
    <th width="5%">accYlbx04</th>
    <th width="5%">accYlbx05</th>
    <th width="5%">accGjj</th>
    <th width="5%">accDeductionamount</th>
    <th width="5%">accRealwage</th>
    <th width="5%">操作</th>
    </thead>
    <tbody>
    <tr th:each="account : ${accounts}">
        <td th:text="${account.accId}"></td>
        <td th:text="${account.accEmpid}"></td>
        <td th:text="${account.accEmpname}"></td>
        <td th:text="${account.accSalary}"></td>
        <td th:text="${account.accBankid}"></td>
        <td th:text="${account.accMail}"></td>
        <td th:text="${account.accPhone}"></td>
        <td th:text="${account.accDeptname}"></td>
        <td th:text="${account.accYlbx01}"></td>
        <td th:text="${account.accYlbx02}"></td>
        <td th:text="${account.accSybx03}"></td>
        <td th:text="${account.accGsbx04}"></td>
        <td th:text="${account.accSybx05}"></td>
        <td th:text="${account.accGjj}"></td>
        <td th:text="${account.accDeductionamount}"></td>
        <td th:text="${account.accRealwage}"></td>
        <td>
            <a th:href="@{/account/edit(id=${account.accId})}">编辑</a> &nbsp;&nbsp;
            <a th:href="@{/account/del/{id}(id=${account.accId})}">删除</a>
        </td>
    </tr>
    </tbody>
</table>
</body>
</html>
